<!-- Modal -->
<div class="modal fade " id="assetBorrowModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="box box-info">
            <div class="box-header with-border">
                <h3 class="box-title" id="assetBorrowModalTitle">资产设备发放</h3>
            </div>
            <!-- /.box-header -->
            <!-- form start -->
            <form id="addContactForm" class="form-horizontal">
                <div class="box-body">
                    <div class="form-group">
                        <label for="inputEmail3" class="col-sm-2 control-label">资产编号</label>
                        <div class="col-sm-5">
                            <input type="hidden" class="form-control" id="assetBorrowModalAssetId">
                            <input type="text" class="form-control" id="assetBorrowModalOaId">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">资产详情</label>
                        <div class="col-sm-5">
                            <input type="text" class="form-control" id="assetBorrowModalInfo">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputEmail3" class="col-sm-2 control-label">监管员工</label>
                        <div class="col-sm-5">
                            <select id="assetBorrowModalOwnerId" class="form-control select2 col-sm-5" style="width: 100%">
                                <option selected="selected"></option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputEmail3" class="col-sm-2 control-label">使用员工</label>
                        <div class="col-sm-5">
                            <select id="assetBorrowModalUserId" class="form-control select2 col-sm-5" style="width: 100%">
                                <option selected="selected"></option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputEmail3" class="col-sm-2 control-label">所在城市</label>
                        <div class="col-sm-3">
                            <select id="assetBorrowModalCity" class="form-control ">
                                <option value="上海">上海</option>
                                <option value="北京">北京</option>
                            </select>
                        </div>
                        <label for="inputEmail3" class="col-sm-2 control-label">所在地方</label>
                        <div class="col-sm-3">
                            <select id="assetBorrowModalPlace" class="form-control ">
                                <option value="金茂11楼">金茂11楼</option>
                                <option value="南汇机房">南汇机房</option>
                                <option value="金茂19楼">金茂19楼</option>
                                <option value="北京职场">北京职场</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputEmail3" class="col-sm-2 control-label">备注</label>
                        <div class="col-sm-8">
                            <textarea id="assetborrowmodalremark" class="form-control" rows="3" placeholder="备注"></textarea>
                        </div>
                    </div>
                </div>
                <!-- /.box-body -->
                <div class="box-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary pull-right" id="assetBorrowModalConfirmBtn">添加</button>
                </div>
                <!-- /.box-footer -->
            </form>
        </div>
    </div>
</div>
<script>

    $(".select2").select2();
    $.fn.modal.Constructor.prototype.enforceFocus = function () {
    };

</script>
